<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="<?php echo __PUBLIC__?>/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="<?php echo __PUBLIC__?>/Admin/Flat/img/favicon.ico">
	    	<link rel="stylesheet" type="text/css" href="<?php echo __PUBLIC__?>/Home/css/animate.min.css"/>
	    	<script type="text/javascript" src="<?php echo __PUBLIC__?>/Home/js/jquery-1.8.3.min.js"></script>
	</head>
	<body>
		<table class="table table-hover" style="font-size: 14px;">
			<tr class="active">
			  <th width="60">olid</th>
			  <th width="1000">商品名字</th>
			  <th width="250">商品属性</th>
			  <th width="170">购买数量</th>
			  <th width="170">价格小计</th>
			 <th width="100">商品ID</th>
			  <th width="210">操作</th>
			</tr>
			<?php foreach ($orderlistsData as $v){?>
			<tr>
				<td><?php echo $v['olid']?></td>
				<td><?php echo $v['goods_name']?></td>
				<td><?php echo $v['goods_attr']?></td>
				<td><?php echo $v['quantity']?></td>
				<td><?php echo $v['subtotal']?></td>
				<td><?php echo $v['goods_gid']?></td>
				<td>
					<a href="javascript:;" class="btn btn-sm btn-danger" onclick="if(confirm('确定要删除吗？亲~~')) location.href='<?php echo U("Orders/delorderslists",array("olid"=>$v['olid']))?>'">删除</a>
				</td>
			</tr>
			<?php }?>
		</table>
		<div class="col-xs-3">
          <a href="javascript:;" class="btn btn-block btn-lg btn-info">物流信息</a>
        </div>
		<script type="text/javascript">
			$(function(){
				$(".btn-info").click(function(){
					$(".ol_box_mask").css({"display":"block"});
					$(".box").show();
					$(".box").addClass("rotateIn");
				})
				$('#close').click(function(){
					$(".box").hide();
					$(".ol_box_mask").css({"display":"none"});
				})
				
			})
		</script>
		<script src="<?php echo __PUBLIC__?>/Home/js/flat-ui.min.js"></script>
		<style type="text/css">
			.ol_box_mask {
			  position: fixed !important;
			  top: 0px;
			  left: 0px;
			  z-index: 499;
			  opacity: 0.4;
			  background-color: #000;
			  visibility: visible;
			}
			.box{
				display: none;
				width: 900px;
				height: 400px;
				padding: 10px 30px 5px 20px;
				border-radius: 10px;
				position: fixed;
				left: 50%;
				margin-left: -450px;
				top: 10px;
				z-index: 99;
				background-color: white;
			}
			.rotateIn {
				-webkit-animation-name: rotateIn;
				animation-name: rotateIn
			}
			#close{
				position: absolute;
				top: 0px;
				right: 0px;
			}
		</style>
		<div style="visibility: visible; width: 100%; height: 100%; z-index: 98;display: none;" class="ol_box_mask">
			
		</div>
		<form action="" method="post">
		<div class="box animated">
			<a href="javascript:;" class="btn btn-block btn-lg btn-danger" id="close" style="float: right;width: 100px;">关闭</a>
			<div style="width: 200px;float: left;position: absolute;">
					<h6><span class="demo-heading-note">选择物流</span></h6>
					<select name="courier_name" class="form-control" style="position: absolute;top: 60px;" required="required">
						<option value="0" selected="true" disabled="true">请选择</option>
					  <option>顺丰快递</option>
					  <option>圆通快递</option>
					  <option>申通快递</option>
					  <option>天天快递</option>
					  <option>韵达快递</option>
					</select>
			</div>
				
				<div class="form-group has-success" style="width: 300px;position: absolute;left: 230px;top: 10px;">
					<label for="wuliu"><h6><span class="demo-heading-note" style="float: left;margin-bottom: 15px;">物流单号</span></h6></label>
		            <input name="courier_num" id="wuliu" value="" placeholder="物流单号" class="form-control" type="text" required="required">
		            <span class="input-icon fui-check-inverted"></span>
		        </div>
		    <div style="width: 200px;float: left;position: absolute;right: 140px;">
					<h6><span class="demo-heading-note">订单状态</span></h6>
					<select name="status" class="form-control" style="position: absolute;top: 60px;" required="required">
					<option value="0" selected="true" disabled="true">请选择</option>
					  <option value="已发货">已发货</option>
					  <!-- <option value="未付款">未付款</option>
					  <option value="已付款">已付款</option>
					  <option value="未发货">未发货</option>
					  <option value="已完成">已完成</option> -->
					</select>
			</div>    
		        <div style="position: absolute;top: 120px;">
		        	<label for="remark"><h6><span class="demo-heading-note" style="float: left;">备注信息</span></h6></label>
		       	 	<textarea name="remark" class="form-control" rows="4" style="resize: none;width: 800px;" required="required"></textarea>
		        </div>
		        <input type="hidden" name="oid" value="<?php echo Q('get.oid',0,'intval')?>"/>
		        <input type="submit" value="保存"  id="save" class="btn btn-block btn-lg btn-info" style="position: absolute;bottom: 30px;left: 0px;"/>
		        <!--<a href="javascript:;" id="save" class="btn btn-block btn-lg btn-info" style="position: absolute;bottom: 30px;left: 0px;">保存</a>-->
		</div>
		</form>
	</body>
</html>
